package com.aoip.telemetry.telemetry.entity.waga;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author chenbai
 * @version 1.0
 * @date 2022/4/24 23:13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Builder
@TableName("waga_definition")
@ApiModel(description = "闸门定义信息表")
public class WagaDefinitionEntity implements Serializable {
    private static final long serialVersionUID = 1599284221063635035L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty("闸门id")
    private Long id;

    @TableField(value = "waga_code")
    @ApiModelProperty("闸门编码")
    private String wagaCode;

    @TableField(value = "waga_name")
    @ApiModelProperty("闸门名称")
    private String wagaName;

    @TableField(value = "factory_station_id")
    @ApiModelProperty("关联厂站id")
    private long factoryStationId;

    @TableField(value = "waga_type")
    @ApiModelProperty("闸门类型")
    private String wagaType;

    @TableField(value = "waga_open_type")
    @ApiModelProperty("闸门开启类型")
    private String wagaOpenType;

    @TableField(value = "waga_min_open_height")
    @ApiModelProperty("最小开启高度")
    private String wagaMinOpenHeight;

    @TableField(value = "waga_width")
    @ApiModelProperty("闸门宽度")
    private String wagaWidth;

    @TableField(value = "waga_height")
    @ApiModelProperty("闸门高度")
    private String wagaHeight;

    @TableField(value = "waga_dk_type")
    @ApiModelProperty("底坎类型（直坎1，圆坎2）")
    private String wagaDkType;

    @TableField(value = "waga_dkgc")
    @ApiModelProperty("底坎高程")
    private String wagaDkgc;

    @TableField(value = "waga_xjls")
    @ApiModelProperty("行近流速")
    private String wagaXjls;

    @TableField(value = "klxsljd")
    @ApiModelProperty("孔流流量系数临界点")
    private String klxsljd;

    @TableField(value = "ylxsljd")
    @ApiModelProperty("堰流流量系数临界点")
    private String ylxsljd;

    @TableField(value = "klxs_large_formula")
    @ApiModelProperty("孔流系数大于临界点公式")
    private String klxsLargeFormula;

    @TableField(value = "klxs_small_formula")
    @ApiModelProperty("孔流系数小于临界点公式")
    private String klxsSmallFormula;

    @TableField(value = "ylxs_large_formula")
    @ApiModelProperty("堰流系数大于临界点公式")
    private String ylxsLargeFormula;

    @TableField(value = "ylxs_small_formula")
    @ApiModelProperty("堰流系数小于临界点公式")
    private String ylxsSmallFormula;

    @TableField(value = "waga_bdxz")
    @ApiModelProperty("边墩形状：直角1，八字形2，圆弧形3，流线形4")
    private String wagaBdxz;

    @TableField(value = "waga_zdxz")
    @ApiModelProperty("闸墩形状：矩形1，尖角形2，半圆形3，尖圆形4，流线形5")
    private String wagaZdxz;

    @TableField(value = "waga_zks")
    @ApiModelProperty("闸孔数")
    private Integer wagaZks;

    @TableField(value = "waga_ydgc")
    @ApiModelProperty("堰顶高程")
    private Double wagaYdgc;

    @TableField(value = "waga_ykdk")
    @ApiModelProperty("堰宽（单孔）B(m)")
    private Double wagaYkdk;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @TableField(value = "modify_time", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty("修改时间")
    private LocalDateTime modifyTime;

    @TableField(value = "del_flag", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty("删除标识")
    @TableLogic
    private Integer delFlag;

    @TableField(value = "bz")
    @ApiModelProperty("备注信息")
    private String bz;

}
